Find the element with highest occurrences in an array [java]

join shbcf.ru